<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/js/vue.js"></script>
</head>
<body>
<div id="app">
    <div v-html="H1html"></div>
</div>

<script>
    var app = new Vue({
        el: '#app',
        data: {
            H1html:"<h1 style='color: yellow;'>xiaogao</h1>"
        }
    })
</script>
</body>
</html>